package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.OaSupplierPayableSummary;
import io.lettuce.core.dynamic.annotation.Param;

/**
 * 供应商应付汇总Mapper接口
 *
 * @author ruoyi
 * @date 2025-03-13
 */
public interface OaSupplierPayableSummaryMapper
{
    /**
     * 查询供应商应付汇总
     *
     * @param id 供应商应付汇总主键
     * @return 供应商应付汇总
     */
    public OaSupplierPayableSummary selectOaSupplierPayableSummaryById(Long id);

    /**
     * 查询供应商应付汇总列表
     *
     * @param oaSupplierPayableSummary 供应商应付汇总
     * @return 供应商应付汇总集合
     */
    public List<OaSupplierPayableSummary> selectOaSupplierPayableSummaryList(OaSupplierPayableSummary oaSupplierPayableSummary);
    public List<OaSupplierPayableSummary> selectOaSupplierPayableSummaryList1(OaSupplierPayableSummary oaSupplierPayableSummary);
    /**
     * 新增供应商应付汇总
     *
     * @param oaSupplierPayableSummary 供应商应付汇总
     * @return 结果
     */
    public int insertOaSupplierPayableSummary(OaSupplierPayableSummary oaSupplierPayableSummary);

    /**
     * 修改供应商应付汇总
     *
     * @param oaSupplierPayableSummary 供应商应付汇总
     * @return 结果
     */
    public int updateOaSupplierPayableSummary(OaSupplierPayableSummary oaSupplierPayableSummary);

    /**
     * 删除供应商应付汇总
     *
     * @param id 供应商应付汇总主键
     * @return 结果
     */
    public int deleteOaSupplierPayableSummaryById(Long id);

    /**
     * 批量删除供应商应付汇总
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteOaSupplierPayableSummaryByIds(Long[] ids);

    List<OaSupplierPayableSummary> selectOaSupplierPayableSummaryByIdAndSupplier(OaSupplierPayableSummary oaSupplierPayableSummaryr);

    void delete(Integer id);
}
